﻿namespace UnityEngine
{
    using System;
    using System.Runtime.InteropServices;

    [StructLayout(LayoutKind.Sequential)]
    public sealed class SplatPrototype
    {
        private Texture2D m_Texture;
        private Texture2D m_NormalMap;
        private Vector2 m_TileSize = new Vector2(15f, 15f);
        private Vector2 m_TileOffset = new Vector2(0f, 0f);
        public Texture2D texture
        {
            get
            {
                return this.m_Texture;
            }
            set
            {
                this.m_Texture = value;
            }
        }
        public Texture2D normalMap
        {
            get
            {
                return this.m_NormalMap;
            }
            set
            {
                this.m_NormalMap = value;
            }
        }
        public Vector2 tileSize
        {
            get
            {
                return this.m_TileSize;
            }
            set
            {
                this.m_TileSize = value;
            }
        }
        public Vector2 tileOffset
        {
            get
            {
                return this.m_TileOffset;
            }
            set
            {
                this.m_TileOffset = value;
            }
        }
    }
}

